home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
CU Amiga Super CD-ROM 17
/
CU Amiga Magazine's Super CD-ROM 17 (1997)(EMAP Images)(GB)[!][issue 1997-12].iso
/
CUCD
/
Programming
/
DiceSource
/
include
/
ioctl.h
< prev
next >
Wrap
C/C++ Source or Header
|
1994-02-01
|
936b
|
42 lines
/*
* $VER: ioctl.h 1.0 (17.4.93)
*
* (c)Copyright 1992 Obvious Implementations Corp, All Rights Reserved
*/
#ifndef IOCTL_H
#define IOCTL_H
#define IOF_CMD 0x00FF
#define IOF_GET 0x0000
#define IOF_SET 0x1000
#define IOC_READ 1
#define IOC_WRITE 2
#define IOC_DUP 3
#define IOC_SEEK 4
#define IOC_CLOSE 5
#define IOC_CEXEC 6
#define IOC_MODES 7
#define IOC_SIO 8 /* MS support */
#define IOC_ISATTY 9
#define IOC_SIGNAL 10 /* signal bit for fd */
#define IOC_POST_BREAK 11 /* propogate ^C through fd */
#define IOC_DOMAIN 12 /* what kind of descriptor are we? */
#define IOC_GETDESC 13 /* get actual low level desc. */
#define IOC_MAPADDR 14 /* request map address (dicecache) */
#define IODOM_AMIGADOS 0 /* AmigaDOS descriptor */
#define IODOM_MS 1 /* multi-stream descriptor */
//extern int ioctl(int, int, void *, void *);
extern int ioctl(int, int, void *);
#endif